.box {
    height: calc( 100vh - 50px);
    display: flex;
    flex-direction: column;
}
.content{
    flex: 1;
    overflow: auto;
}
.list{
    flex: 1;
    height: 80vh;
    overflow: auto;
}
.list > div {
    display: flex;
    padding: 10px 10px 0;
    gap: 10px;
}
.list > div > img {
    width: 40px;
    height: 40px;
    border-radius: 25px;
}
.list > div p {
    background-color: rgb(105, 170, 255);
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    max-width: 65vw;
}
.list > div.right{
    flex-direction: row-reverse;
}
.list > div.right p {
    background-color: blue;
}
.footer {
    height: 60px;
    box-sizing: border-box;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    background-color: #eee;
}
.input {
    width: 55vw;
    border: 1px solid #bbb;
    background-color: #fff;
}